﻿//
//  Windows_libc
//
//  Created by  cc_team(陈旭，陈曦) qq:511272827.
//  Copyright 2011 cc_team. All rights reserved.
//
#ifndef CC_LOG_H
#define CC_LOG_H

#include "cc_common.h"
#include "cc_stdlib.h"
#include "cc_stdio.h"

#define		LOG_FILE_LINE				printf("file is %s, line is %d", __FILE__, __LINE__)

__BEGIN_DECLS

// has some bugs, be careful! 
int cc_writeLog(
	const char* str, 
	const char* fileName, 
	int isAppend, 
	int showErrLog		// not used now
);

__END_DECLS

#endif